<template>
  <div class='enable-btn-for-bot'>
    <el-switch v-model="$data.data.alert"
               :disabled="!$data.data.enable"
               @change="changeSwitch($event,$data.data,'alert')"
                v-loading="$data.data.cardAlertLoading">
    </el-switch>
  </div>
</template>

<script>
import mixinChangeSwitch from './ChangeSwitch'

export default {
  mixins: [mixinChangeSwitch],
  data () {
    return {
      data: {}
    }
  },
  methods: {
  }
}
</script>
